//package com.ht.pms.core.job;
//
//import com.ht.pms.core.service.DDService;
//import com.ht.ussp.util.JsonUtil;
//import com.xxl.job.core.biz.model.ReturnT;
//import com.xxl.job.core.handler.IJobHandler;
//import com.xxl.job.core.handler.annotation.JobHandler;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import java.util.Map;
//
///**
// * @Auther: 喻尊龙
// * @Date: 2018/11/27 10:18
// * @Description:
// */
//@JobHandler(value = "DDOvertimeSynHandler")
//@Component
//public class DDOvertimeSyn extends IJobHandler {
//
//    private static Logger LOG = LoggerFactory.getLogger(DDOvertimeSyn.class);
//
//    @Autowired
//    private DDService ddService;
//
//    @Override
//    public ReturnT<String> execute(String param) throws Exception {
//        Map<String,Object> map = JsonUtil.json2Map(param);
//        ddService.synDDOverTimeData(map.get("startTime")+"",map.get("endTime")+"","ht",map.get("overTimeDate")+"",false);
//        ddService.synDDOverTimeData(map.get("startTime")+"",map.get("endTime")+"","ht",map.get("overTimeDate")+"",true);
//        ddService.synDDOverTimeData(map.get("startTime")+"",map.get("endTime")+"","fc",map.get("overTimeDate")+"",false);
//
//        ddService.synDDVocationData(map.get("startTime")+"",map.get("endTime")+"","ht");
//        ddService.synDDVocationData(map.get("startTime")+"",map.get("endTime")+"","fc");
//        return SUCCESS;
//    }
//}
